<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title id="t1">vue el挂载点</title>
</head>
<body>
	
	<div id="app1" class="capp1">
		<h2>使用this直接操作data里的数据</h2>
		{{ msg }}
		{{ name }}
		<ul>
			<li>{{scores[5]}}</li>
			<li>{{scores[4]}}</li>
			<li>{{scores[3]}}</li>
			<li>{{scores[2]}}</li>
			<li>{{scores[1]}}</li>
			<li>{{scores[0]}}</li>
		</ul>
	</div>

	<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
	<script>
		var data = {
				msg:"Hi There!",
				name:"Sa_Zhang",
				scores:[9,5,7,3,6,1]
			}
		// new Vue({}) 大小写敏感
		var app = new Vue({
			el:"#app1",
			data:data
		})
	</script>

</body>
</html>